Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stable merge 18/7/2022 #139

Merged
merged 118 commits into from
Jul 27, 2022
Merged

Stable merge 18/7/2022 #139

merged 118 commits into from
Jul 27, 2022

Conversation

finnbar
Copy link
Collaborator

@finnbar finnbar commented Jul 18, 2022

Benji did some crimes again

  • Interactions (including a "reroll" button for dice and some quote shenanigans) - test this by using slash commands to roll dice, clicking on the reroll button and trying out slash commands for quotes. (Interactions #118)
  • Mutable variables in dice expressions (using the var keyword) - think of some cursed dice expressions to test, and also some basic ones to make sure nothing breaks. (Dice variables #133)
  • Aliasing of commands - test this by making some command aliases with !alias and making sure they work as expected. (Alias #134)
  • Removal of unnecessary commands !pr, !issue and !pong; a tiny bit of cleanup and updates to CONTRIBUTING.md - nothing really to test here. (Improved accessibility (fewer commands and improved CONTRIBUTING.md) #137)

NOTE this PR updates the regex used to check whether a bot token is valid, because Discord changed the format of bot tokens since the previous merge. It is very likely that your bot token will no longer work, and you'll need to regenerate it. It is also very likely I will have to do this for the actual bot.

OTHER NOTE the update for discord-haskell had a funky time on my local copy, but managed to behave after a stack clean. So if the build fails, you may have to do that too. (And then maybe leave it for a while because build times bad.)

… pretty cool (also I borrowed your code and put it in the library sorry anna)
Copy link
Member

@the-Bruce the-Bruce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple of issues, permission errors have wrong header, and quote rerolling when a quote has been deleted can leave behind a card while still updating the message to say nothing found. Otherwise looks fine as far as I can tell. I could keep testing the roll command for days before fully exploring all edgecases, but it seems stable enough.

@finnbar finnbar merged commit 032ae44 into stable Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants